/******************************************************************************
COPYRIGHT   : 
Project          : 
Source File Name : hwa_inputs_Cfg.c
Group            : SoftWare Team
Author           : 
Date First Issued: 
********************************Documentation**********************************
Purpose -  This file is 
********************************RevisionHistory********************************
_______________________________________________________________________________
Date : MM/DD/YY    Release        Changes Description                  Author
Date :                                                                 YONG.DING
   
******************************************************************************/

/* #include */
#include "system.h"
#include "hwa_inputs_cfg.h"



#define VBAT_HIGH_TH   (VBAT_16V)     /* 3.86V @ uC BAT_MON input @ Vbat=16 V */
#define VBAT_LOW_TH    (VBAT_9V)     /* 2.08V @ uC BAT_MON input @ Vbat=9 V  */

DIN_GPI_RESULT_STRUCT  GPI_RESULT[NUM_OF_INPUTS];

AIN_RESULT_STRUCT      AIN_RESULT[NUM_OF_AN] = { 
  {CH1,0U,0U,0U,0U},
  {CH2,0U,0U,0U,0U},
  {CH8,0U,0U,0U,0U},           
  {CH9,0U,0U,0U,0U},
  {CH10,0U,0U,0U,0U},           
};

DIN_CONFIG_STRUCT  DIN_CONFIG[NUM_OF_INPUTS] = { 
  {SI_PP0_IN,DIN_PORT_P,ADR_PORT_P,0,H},
  {SI_PP1_IN,DIN_PORT_P,ADR_PORT_P,1,H},
  {SI_PP3_IN,DIN_PORT_P,ADR_PORT_P,3,H},
  {SI_PT0_IN,DIN_PORT_T,ADR_PORT_T,0,H},  
  {SI_PT1_IN,DIN_PORT_T,ADR_PORT_T,1,H},
  {SI_PT2_IN,DIN_PORT_T,ADR_PORT_T,2,H},


};






/*************************end of hwa_inputs_Cfg.c**********************************/

/******************************************************************************
 Revision Notes:

For each change to this file, be sure to record:
1. Who made the change and when the change was made.
2. Why the change was made and the intended result.

  Date     By     Reason For Change
mm/dd/yy  XXX     -----------------



******************************************************************************/


